/*
 ***************************************************************************
 * MediaTeK Inc.
 * 4F, No. 2 Technology	5th	Rd.
 * Science-based Industrial	Park
 * Hsin-chu, Taiwan, R.O.C.
 *
 * (c) Copyright 2002-2012, MTK.
 *
 * All rights reserved.	MediaTeK's source	code is	an unpublished work	and	the
 * use of a	copyright notice does not imply	otherwise. This	source code
 * contains	confidential trade secret material of MediaTeK Tech. Any attemp
 * or participation	in deciphering,	decoding, reverse engineering or in	any
 * way altering	the	source code	is stricitly prohibited, unless	the	prior
 * written consent of MediaTeK, Inc. is obtained.
 ***************************************************************************

	Module Name:
	omci_me_enhanced_security_ctl.h

	Abstract:

	Revision History:
	Who			When			What
	--------	----------		----------------------------------------------
	Name		Date			Modification logs
	lisa.xue	2012/7/28	Create
*/

#ifndef _ENHANCED_SECURITY_CTL_ME_H_
#define _ENHANCED_SECURITY_CTL_ME_H_

typedef union{
    struct{
	#ifdef __BIG_ENDIAN
        uint8_t fragLen    :4;
        uint8_t reserved   :2;
        uint8_t opr        :2;
	#else
		uint8_t opr        :2;
		uint8_t reserved   :2;
		uint8_t fragLen	   :4;
	#endif
    }bit;
    uint8_t raw;
}broadcastKeyCtrl_t;

extern omci_attr_dscp_t omci_attr_enhanced_security_ctrl_op[];
extern omci_me_func_t omci_me_enhanced_security_ctrl_op;
extern omci_attr_t omci_enhanced_security_ctrl_attr;
#endif

